package com.atguigu.study.myjunit;

import com.atguigu.study.annotations.AtguiguTest;

public class CalcHelpDemo {// jvm  CalcHelpDemo.class硬盘 --> 类加载器 --> 方法区(元空间) --》马甲模板CalcHelpDemo Class

    public int mul(int x, int y) {
        return x * y;
    }

    @AtguiguTest
    public int div(int x, int y) {
        return x / y;
    }

    @AtguiguTest
    public void thank(int x, int y) {
        System.out.println("3ks，help me test bug");
    }

    //耗时打印
//    @AtguiguTest
//    public void time() {
//        long startTime = System.nanoTime();
//        long endTime = System.nanoTime();
//        System.out.println("----costTime:" + (endTime - startTime)/1000000 + "秒");
//    }
}
